const {login,
      test} =require('../controllers/auth')
const {verifyLogin,verify_auth} = require('../middleware/auth')
const router = require('koa-router'); // 引入路由
const authRouter = new router({
  prefix: '/login'
});
authRouter.post('/',verifyLogin, login);
authRouter.get('/test',verify_auth,test);
module.exports = authRouter;